/**
 * ListService.java
 *
 * Copyright (c) 2009 viorelt All Rights Reserved.
 *
 * This source file may not be copied, modified or redistributed,
 * in whole or in part, in any form or for any reason, without the express
 * written consent of viorelt .
 **/
package ro.prjmanager.core.service;

import ro.prjmanager.core.list.RequestParamList;

import java.util.List;

public interface ListService <M,ID> {
    public void create(M entity);

    public void delete(ID id);

    public M load(ID id);

    public List<M> listPag(int startPage,int resPerPage);

    public List<M> listPagFilter(int startPage,int resPerPage,String filter);

    public List<M> list(RequestParamList requestParamList);



}
